// 获取轮播图图片高度
export function querySelect(el) {
  return new Promise(resolve => {
    const query = wx.createSelectorQuery()
    query.select(el).boundingClientRect()
    query.exec(res => {
      resolve(res[0].height)
    })
  })
}